package com.hongtech.common;

import com.hongtech.common.bean.AjaxResultVo;

/**
 * 自定义异常
 */
public class CustomException extends RuntimeException {

    private static final long serialVersionUID = 1L;

    private AjaxResultVo resultVo;

    public CustomException(AjaxResultVo resultVo) {
        this.resultVo = resultVo;
    }

    public AjaxResultVo getResultVo() {
        return resultVo;
    }

    public void setResultVo(AjaxResultVo resultVo) {
        this.resultVo = resultVo;
    }

}
